home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / Visual Cafe Pro v1.0 / SOURCE.BIN / BevelStyle.java < prev    next >
Encoding:
Java Source  |  1997-06-19  |  1.6 KB  |  55 lines

  1. package symantec.itools.awt;
  2.  
  3.  
  4. /**
  5.  * BevelStyle is an interface for components with borders that can be drawn
  6.  * different ways. The "raised" style makes the component appears raised above
  7.  * the surrounding area, the "lowered" style makes the component appear lowered,
  8.  * the "line" style draws a simple line around the component, and components with
  9.  * the "none" style have nothing drawn around them.
  10.  * @author Symantec
  11.  */
  12. public interface BevelStyle
  13. {
  14.     //--------------------------------------------------
  15.     // constants
  16.     //--------------------------------------------------
  17.  
  18.     /**
  19.      * Defines the "lowered" shape border style. This makes the component appear
  20.      * lower than the surrounding area.
  21.      */
  22.     public static final int BEVEL_LOWERED = 0;
  23.  
  24.     /**
  25.      * Defines the "raised" shape border style. This makes the component appear
  26.      * raised above the surrounding area.
  27.      */
  28.     public static final int BEVEL_RAISED = 1;
  29.  
  30.    /**
  31.      * Defines the "line" shape border style. This draws a simple line around the
  32.      * component.
  33.      */
  34.     public static final int BEVEL_LINE = 2;
  35.  
  36.    /**
  37.      * Defines the "none" shape border style. This indicates the component will have
  38.      * nothing drawn around its border.
  39.      */
  40.     public static final int BEVEL_NONE = 3;
  41.  
  42.  
  43.     //--------------------------------------------------
  44.     // methods
  45.     //--------------------------------------------------
  46.  
  47.     /**
  48.      * Sets the new border style.
  49.      */
  50.     public void setBevelStyle(int style);
  51.     /**
  52.      * Gets the current border style.
  53.      */
  54.     public int getBevelStyle();
  55. }